package com.example.ilvuuz.entity;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class ProductComment {
    private Integer commentId;
    private Integer productId;
    private Integer userId;
    private String content;
    private Integer rating;
    private LocalDateTime createdtime;
    private LocalDateTime updatetime;
    
    // 关联属性
    private User user;
    private Product product;
} 